package org.qiyu.live.im.core.server.handler;

import io.netty.channel.ChannelHandlerContext;
import org.qiyu.live.im.core.server.common.ImMsg;

/**
 * @ClassName: SimplyHandler
 * @Description: TODO
 * @Author zhangguangyan
 * @Date 2023/09/02/ 21:55:52
 * @Version 1.0
 */
public interface SimplyHandler {

    /**
     * 消息处理函数
     *
     * @param ctx
     * @param imMsg
     * @Params @param ctx
     * @Return
     * @Description  消息统一处理函数
     * @Author zhangguangyan
     * @Date 2023-09-02 21:56:36
     */
    void handler(ChannelHandlerContext ctx, ImMsg imMsg);
}
